package com.micmac.main.events
{
	import flash.events.Event;
	
	/*
	
	Author : Roy Raul.
	
	Component : MainEvent.             
	
	Version History         : 0.1 Date Jul-20-2011
	
	Current Version         : 0.1 Date Jul-20-2011
	
	Build Date              : Jul-20-2011
	
	*/
	
	public class MainEvent extends Event
	{
		public static const INDEX_CHANGED:String = "indexChanged";
		
		public var viewIndex:int;
		
		public function MainEvent(type:String, _viewIndex:int, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			viewIndex = _viewIndex;
		}
		
		override public function clone():Event{
			return new MainEvent(type, viewIndex);
		}
	}
}